package com.gewu.bluetoothflow.bean
//{"id":"2102024420001","time":"20250116134104","rxBat":60,"txBat":60,"pair":"False",
// "model":"HE3(SI)","ver":"V1.0","open":"0000","close":"2310","dir":"onlyIn","storCyc":1}
data class BleDeviceInfo(
    val id:String,
    val model:String,
    val ver:String,
    val pair:String,
    val rxBat:Int,
    val txBat: Int,
    val devBat: Int, //PIR 人员计数器才有
    val time:String,
    val open:String,
    val close:String,
    val storCyc:Int,
    val upCyc:Int,
    val dir:String,  //PIR 人员计数器的值  right(右往左计数)  left(左往右计数)
    val serverS:String,
    val netS:String,
    val addr:String,
    val port: Int,
    val MAC:String,
    val api:String,
    val wifiName:String,
    val wifiPass:String,
    val wifiEnc:String,
    val status:String,
    val apn:String,
    val apnN:String,
    val apnP:String,

){
    override fun toString(): String {
        return "BleDeviceInfo(id='$id', model='$model', ver='$ver', pair='$pair', rxBat=$rxBat, txBat=$txBat, devBat=$devBat, time='$time', open='$open', close='$close', storCyc=$storCyc, upCyc=$upCyc, dir='$dir', serverS='$serverS', netS='$netS', addr='$addr', port=$port, MAC='$MAC', api='$api', wifiName='$wifiName', wifiPass='$wifiPass', wifiEnc='$wifiEnc', status='$status', apn='$apn', apnN='$apnN', apnP='$apnP')"
    }
}

